<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8" />
    <title>23_弹性盒子-flex-基本使用</title>

    <style>
        #d1 {
            display: inline-flex;
        }

        .container {
            width: 1000px;
            height: 615px;
            border: 5px dashed red;
        }

        .item {
            width: 200px;
            height: 200px;
            border: 1px solid black;
            background-color: darkseagreen;
        }
    </style>
</head>

<body>
    <div id="d1">
        <div class="container">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
        <div class="container">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
    </div>
</body>

</html>